package com.mapper;

import java.util.List;

import com.bean.FoodMaterial;

public interface FoodMaterialMapper {
    int deleteByPrimaryKey(Integer id);
    
    int deleteByFoodId(Integer foodId);

    int insert(FoodMaterial record);

    int insertSelective(FoodMaterial record);

    FoodMaterial selectByPrimaryKey(Integer id);
    
    List<FoodMaterial> selectByFoodId(Integer foodId);

    int updateByPrimaryKeySelective(FoodMaterial record);

    int updateByPrimaryKey(FoodMaterial record);
}